package cn.jh.smartos.bean

import android.text.TextUtils

/**
 * Created by pjh on 18/3/13.
 */
class MsgItem {

    var isFrom: Boolean = false
    var id: String = "" //名字
    var content: String = ""
    var type: Int = 1
    var time: String = ""//时间


    constructor()
    constructor(isFrom: Boolean, id: String?, content: String) {
        if (!TextUtils.isEmpty(id)){
            this.id = id as String
        }
        this.isFrom = isFrom

        this.content = content
    }


}